import { IFeidaoAiBrowserComponent } from '@dfeidao/atom-web/interfaces';
import render from '@dfeidao/atom-web/render/render';
import nodejs from '@dfeidao/atom-web/msg/nodejs';
import p001 from './p001';

export default async function a003(fd: IFeidaoAiBrowserComponent) {
	//搜索
	const a = fd.data.node.querySelector<HTMLInputElement>('[data-id="hidden_source"]').value;
	const b = fd.data.node.querySelector<HTMLInputElement>('[data-id="hidden_name"]').value;
	const res = await nodejs('risk-point/zj-000008/s001', {
		filter: {
			page_no: 1,
			hidden_source: a,
			hidden_name: b
		}
	});
	render(fd, res, p001, 'p001', 'inner');
}
